package com.sayimo.maker.activity.dao;

import java.util.List;
import java.util.Map;

import com.sayimo.framework.exception.DaoException;
import com.sayimo.maker.activity.vo.BaseGroupBuy;

/**
 * @Copyright (C)  广东省尚一互联网有限公司
 * @Project: schoolmallapi
 * @ClassName: BaseGroupBuyDao
 * @Description: 
 * @author:	wangyang
 * @date:	日期：2016年10月18日  时间：上午10:50:33
 * @version 2.0.0
 */
public interface BaseGroupBuyDao {

	/** 
	* @Title: selectGroupBuyGoodsList 
	* @Description: 
	* @param goodsType
	* @return
	* @return List<BaseGroupBuy>
	* @throws 
	*/ 
	public List<BaseGroupBuy> selectGroupBuyGoodsList(Integer goodsType)throws DaoException;

	/** 
	* @Title: selectGroupBuyPreGoodsList 
	* @Description: 
	* @param goodsType
	* @return
	* @return List<BaseGroupBuy>
	* @throws 
	*/ 
	public List<BaseGroupBuy> selectGroupBuyPreGoodsList(Integer goodsType)throws DaoException;

	/** 
	* @Title: selectBaseGroupBuyIdentifier 
	* @Description: 
	* @param identifier
	* @return
	* @return Map<String,Object>
	* @throws 
	*/ 
	public Map<String, Object> selectBaseGroupBuyIdentifier(String identifier)throws DaoException;

	/** 
	* @Title: queryGroupBuyGoodsInfoByGoodsId 
	* @Description: 
	* @param goodsId
	* @param identifier
	* @return
	* @return Map<String,Object>
	* @throws 
	*/ 
	public Map<String, Object> queryGroupBuyGoodsInfoByGoodsId(Integer goodsId,
			String identifier)throws DaoException;

	/** 
	* @Title: queryOverDueGroupBuyidentifier 
	* @Description: 处理已过期的团购活动
	* @return
	* @return String
	* @throws 
	*/ 
	public List queryOverDueGroupBuyidentifier()throws DaoException;

	/** 
	* @Title: queryIdentifiersByNormal 
	* @Description: 
	* @return
	* @return String
	* @throws 
	*/ 
	public String queryIdentifiersByNormal()throws DaoException;

	/**
	 * @return  
	* @Title: queryInfoByIdentifierGoodsType 
	* @Description: 
	* @param identifier
	* @param goodsType
	* @return void
	* @throws 
	*/ 
	public Map queryInfoByIdentifierPreGoods(String identifier)throws DaoException;

	/** 
	* @Title: queryInfoByIdentifierGoods 
	* @Description: 
	* @param identifier
	* @return
	* @return Map
	* @throws 
	*/ 
	public Map queryInfoByIdentifierGoods(String identifier)throws DaoException;
	/** 
	* @Title: updateStatusByIdentifier 
	* @Description: 
	* @param identifier
	* @return
	* @return Map
	* @throws 
	*/ 
	public Integer updateStatusByIdentifier(String identifier)throws DaoException;

	


	

}
